starter.controller('instructionController', function($rootScope,$state,$ionicPopup,$timeout,$scope,Page, localStore,$location) {

    $scope.screenWidth = document.body.clientWidth;
    $scope.screenHeight = window.innerHeight;
    Page.ajaxPost('instruction/query4Mobile.do',null, function(resp) {
        $scope.instructionList = resp.data;
    });

    $scope.clickInstruction = function(instruction) {
        $state.go("instruction_detail",{transData : instruction});
    }


});